package com.example.demo.entity;

import cn.hutool.core.util.RandomUtil;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

/**
 * 蔡定努
 * 2025/05/13 09:43
 */
@Data
public class View {

    private String name;


    @JsonSerialize
    private ReceivedAmount receivedAmount;


    /**
     * 还款计划
     */
    private List<BorrowRepayInfoViewVo> repaymentPlan;


    @Data
    public static   class BorrowRepayInfoViewVo  {


        /**
         * 本金
         */
        @JsonSerialize
        private BigDecimal principal;



    }

    @Data
    public static   class ReceivedAmount  {

        /**
         * 到账金额
         */
        @JsonSerialize
        private BigDecimal nm;

    }

    public static void main(String[] args) {

        
        int a=0;
        for(int i = 0; i < 10; i++) {
        System.out.println(a++);
        }

    }

}
